<?php

namespace App\Repositories;

use App\Models\Questions;
use InfyOm\Generator\Common\BaseRepository;

/**
 * Class QuestionsRepository
 * @package App\Repositories
 * @version July 23, 2018, 3:16 am UTC
 *
 * @method Questions findWithoutFail($id, $columns = ['*'])
 * @method Questions find($id, $columns = ['*'])
 * @method Questions first($columns = ['*'])
*/
class QuestionsRepository extends BaseRepository
{
    /**
     * @var array
     */
    protected $fieldSearchable = [
        'code',
        'content',
        'next_id',
        'temp_id',
        'type'
    ];

    /**
     * Configure the Model
     **/
    public function model()
    {
        return Questions::class;
    }
}
